import { post, put, get } from "@/utils/hettpUtils/httpRequest";
export const addUser = (parameter) => post("api/user/add", parameter);
export const updateUser = (parameter) => put("api/user/update", parameter);
export const updatePwd = (parameter) => put("api/user/updatePwd", parameter);
export const getUser = () => get("api/user/get");
export const getUserAccount = () => get("api/user/getAccount");
export const getUserRecharge = (parameter) => post("api/rechargeHistory/pages", parameter);
export const addUserRecharge = (parameter) => post("api/rechargeHistory/add", parameter);
export const savePaymentQRCode = (parameter) => put("api/user/savePaymentQRCode", parameter); 
export const queryConsumption = (parameter) => post("api/consumptionhistory/pages", parameter);
export const queryMyTeam = () => get("api/user/queryMyTeam");
